<template>
  <view class="box">
    <Fly-item
      v-for="(item, index) in list"
      :key="index"
      :item="item"
      :isComment="isComment"
      :type="type"
      :my_level_id="my_level_id"
    ></Fly-item>
    <view class="empty_view" v-if="list && list.length == 0">
      <image
        class="item_left_clickable"
        src="../../static/images/my/kong.png"
        mode=""
      ></image>
      <view>暂时还没有相关信息~</view>
    </view>
  </view>
</template>

<script>
import FlyItem from "./FlyItem.vue";
export default {
  components: {
    FlyItem,
  },
  props: {
    isComment: {
      type: Boolean,
      default: true,
    },
    type: {
      type: String,
      default: "search",
    },
    list: {
      type: Array,
      default: () => {
        return [];
      },
    },
    my_level_id: {
      type: Number,
      default: 0,
    },
  },
  data() {
    return {};
  },
  created() {},
  methods: {},
};
</script>

<style scoped lang="scss">
.empty_view {
  margin-top: 300rpx;
  image {
    margin: 0 auto;
    width: 410rpx;
    height: 410rpx;
  }
  view {
    font-size: 30rpx;
    color: #d8d8d8;
    text-align: center;
  }
}
</style>